@import url('https://fonts.font.im/css?family=Nothing+You+Could+Do');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nothing You Could Do', cursive;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: pink;
}

.container {
    width: 1180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.container .card {
    position: relative;
    width: 320px;
    height: 420px;
    margin: 15px;
    overflow: hidden;
}

.container .card span {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    opacity: 0.95;
    background: Pink;
    z-index: 1;
    transition: width .5s, height .5s;
    transform: translate(-50%, -50%);
}

.container .card:hover span {
    width: 1000px;
    height: 1000px;
}

.container .card .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .card .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.container .card .content div {
    padding: 30px;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
    transform: translateY(50px);
}

.container .card:hover .content div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.container .card .content div h2, h5, p {
    text-align: center;
    margin-top: 15px;
}

.container .card .content div h2, h5 {
    margin-top: 5px;
}





